package com.eddy.nio;

import java.io.IOException;
import java.net.Socket;

public class ClientTest {

    public static void main(String[] args) throws IOException {

        Socket socket = new Socket("127.0.0.1", 9000);
        socket.getOutputStream().write("hello netty".getBytes());
        socket.close();

    }
}
